package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author ht
 * @Date 2021/8/13 14:59
 * @Version 1.0
 */
@Data
@ApiModel("商户微信token信息")
public class MerchantWxtokeninfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("商户微信token信息表id")
    private Long id;

    @ApiModelProperty("授权appid")
    private String authorizerAppid;

    @ApiModelProperty("授权小程序token")
    private String authorizerAccessToken;

    @ApiModelProperty("有效时长")
    private Integer expiresIn;

    @ApiModelProperty("token更新时间")
    private Date updateTime;

    @ApiModelProperty("刷新令牌")
    private String authorizerRefreshToken;

    @ApiModelProperty("商户id")
    private Long merchantId;


}
